import React from "react";

const AddWorkSpace = ({ color, size }: { color: string; size?: number }) => {
  return (
    <svg
      width={size || 16}
      height={size || 16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        d="M16 8C16 8.17681 15.9298 8.34638 15.8047 8.47141C15.6797 8.59643 15.5101 8.66667 15.3333 8.66667H8.66667V15.3333C8.66667 15.5101 8.59643 15.6797 8.47141 15.8047C8.34638 15.9298 8.17681 16 8 16C7.82319 16 7.65362 15.9298 7.5286 15.8047C7.40357 15.6797 7.33333 15.5101 7.33333 15.3333V8.66667H0.666667C0.489856 8.66667 0.320287 8.59643 0.195262 8.47141C0.070238 8.34638 0 8.17681 0 8C0 7.82319 0.070238 7.65362 0.195262 7.5286C0.320287 7.40357 0.489856 7.33333 0.666667 7.33333H7.33333V0.666667C7.33333 0.489856 7.40357 0.320287 7.5286 0.195262C7.65362 0.070238 7.82319 0 8 0C8.17681 0 8.34638 0.070238 8.47141 0.195262C8.59643 0.320287 8.66667 0.489856 8.66667 0.666667V7.33333H15.3333C15.5101 7.33333 15.6797 7.40357 15.8047 7.5286C15.9298 7.65362 16 7.82319 16 8Z"
        fill={color}
      />
    </svg>
  );
};

export default AddWorkSpace;
